#!/bin/sh

case "$(printf "Cancel\nLock\nSuspend\nLog Out\nRestart\nShut Down" | fuzzel -d -l 6)" in
    Cancel) ;;
    Lock) hyprlock ;;
    Suspend) systemctl suspend ;;
    "Log Out") hyprctl dispatch exit ;;
    Restart) systemctl reboot ;;
    "Shut Down") systemctl poweroff ;;
esac
